Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

feat: enable ues eslint to lint ts #5

Merged
merged 1 commit into from
Mar 13, 2019
Merged

Conversation

clock157
Copy link
Contributor

@clock157 clock157 commented Mar 12, 2019

  1. 支持使用 eslint 来检查 ts
  2. 默认不开启 eslint 和 tslint,需要通过参数打开

相关issue:
ant-design/ant-design-pro#3722
close #4

@clock157 clock157 force-pushed the feat/support_eslint_lint_ts branch from c443c42 to 4d86a59 Compare March 12, 2019 02:45
@yutingzhao1991
Copy link

eslint 也默认要配置打开的话是不是就是 breakchange 了?出于什么考虑。

@xiaohuoni
Copy link
Member

好像是和我讨论的,我觉得要单独使用stylelint,要写这一串,有点奇怪

umi-lint --tslint=false --eslint=false --prettier=false --stylelint src/

@yutingzhao1991
Copy link

yutingzhao1991 commented Mar 12, 2019

嗯,统一都默认需要配置打开是要清楚一点。


有一个方案可以考虑看看:如果没有任何类型的 lint 打开的话默认打开 eslint?

@clock157
Copy link
Contributor Author

之前你觉得怪异,@xiaohuoni 也觉得怪异,我想了想也觉得怪异。so...

@clock157
Copy link
Contributor Author

没有任何类型打开默认打开 eslint 这个会不会也让人出现理解问题呢?

@clock157 clock157 merged commit e621d38 into master Mar 13, 2019
@clock157 clock157 deleted the feat/support_eslint_lint_ts branch March 13, 2019 01:02
@yutingzhao1991
Copy link

嗯,那就先这样,显示指定更清楚一点。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

默认使用 eslint 检查 ts
4 participants